package com.glory.cqaospda.viewmodel

import com.glory.cqaospda.model.TaskRepository
import com.glory.mvvmnet.base.BaseViewModel
import com.glory.mvvmnet.entity.CallObserveBean
import com.google.gson.JsonObject

class EmptyPassingStationModel : BaseViewModel() {

    private val repository by lazy { TaskRepository() }

    fun defaultPassSationEnd(map:JsonObject){

        launchOnlyResult({
            repository.defaultPassSationEnd(map,"EMS_PassSationEnd")
            defUI.callObserve.value = CallObserveBean(1)
        })
    }

}